package com.xcexample.electronicclasscard.main

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.xcexample.electronicclasscard.R


class DutyAdapter :
    BaseQuickAdapter<HomeResponse.Duty, BaseViewHolder>(R.layout.item_duty) {

    override fun convert(helper: BaseViewHolder, item: HomeResponse.Duty) {
        helper.setText(R.id.time, item.time)
        helper.setText(R.id.student, item.student)
        helper.setText(R.id.area, item.area)
    }
}
